/*
** string.h for  in /home/renard/Dropbox/epitech/dev/projets/systemunix/zappy/zappy-2015-2014s-renard_g/serv-src
**
** Made by guillaume renard
** Login   <renard_g@epitech.net>
**
** Started on  Wed Jun 13 15:21:27 2012 guillaume renard
** Last update Thu Jul 19 18:08:28 2012 pierrick druart
*/

#ifndef		__STRING__
#define		__STRING__

#define		SIZE_ALLC	256

typedef struct	s_string
{
  char		*str;
  int		capacity;
  int		size;

  int		(*concat)(struct s_string *this, const char *s2);
  int		(*concat_value)(struct s_string *this, int value);
  void		(*delete)(struct s_string *this);
  void		(*clear)(struct s_string *this);
}		t_string;

t_string	*new_string(char *);

#endif
